package com.ctshk.rpc.user.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import java.io.Serializable;

/**
 * <p>
 *  当前用户激活星赏会
 * </p>
 *
 * @author 李新科
 * @date 2021/6/1 21:13
 */
@Data
@ApiModel
public class RegisterStartVipReq implements Serializable {

    @ApiModelProperty(name = "enSurname", value = "英文姓")
    @NotBlank(message = "英文性不能为空")
    @Pattern(regexp = "[a-zA-Z]*",message = "英文姓只能为英文字母")
    private String enSurname;

    @ApiModelProperty(name = "enName", value = "英文名")
    @NotBlank(message = "英文名不能为空")
    @Pattern(regexp = "[a-zA-Z]*",message = "英文名只能为英文字母")
    private String enName;

    @ApiModelProperty( value = "用户Id,前端不用传")
    private Long userId;
}
